package com.ym.soso.domain.entity;

import com.ym.common.constant.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Table;

/**
 * 标签评价关联表对象 tag_commont_middle
 *
 * @author ym
 * @date 2020-08-20
 */
@ApiModel("标签评价关联表-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tag_commont_middle")
public class TagCommontMiddleEntity extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /**
     * 标签库ID
     */
    @ApiModelProperty("标签库ID")
    private Long tagId;

    /**
     * 评价ID
     */
    @ApiModelProperty("评价ID")
    private Long commontId;

}
